package com.hbxs.folder.api;

import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @ClassName: BaseApi
 * @Description: USEFULNESS(接口抽象类)
 * @author Radon
 * @date 2020/05/13
 *
 */
@ApiResponses(value = {
    @ApiResponse(code = 0, message = "成功"),
    @ApiResponse(code = 100, message = "错误"),
    @ApiResponse(code = 400, message = "参数错误"),
    @ApiResponse(code = 500, message = "服务内部异常"),
    @ApiResponse(code = 417, message = "非法请求")
})
@CrossOrigin(origins = "*", maxAge = 3600)
public abstract class BaseApi {

}
